package com.zzyl.nursing.controller.member;

import com.zzyl.common.core.domain.AjaxResult;
import com.zzyl.common.core.domain.R;
import com.zzyl.common.utils.UserThreadLocal;
import com.zzyl.nursing.service.IFamilyMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/member/reservation")
public class CancelledCount {
    @Autowired
    private IFamilyMemberService memberService;

    @GetMapping("/cancelled-count")
    public R<Integer> cancelledCount() {
        Long userId = UserThreadLocal.getUserId();
        System.out.println("------"+userId);
        return R.ok(1);
    }
}
